<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>H - 添加用户</title>
    <link rel="stylesheet" href="/admin/assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="/admin/addUser/AddUser.css">
</head>

<body>
    <div class="layui-card">
        <div class="layui-card-header">添加用户</div>
        <div class="layui-card-body">
            <form class="layui-form addUser" action="">

                <!-- 用户名 -->
                <div class="layui-form-item">
                    <label class="layui-form-label">用户名</label>
                    <div class="layui-input-block">
                        <input type="text" name="username" required lay-verify="required|item" placeholder="请输入用户名"
                            autocomplete="off" class="layui-input">
                    </div>
                </div>

                <!-- 昵称 -->
                <div class="layui-form-item">
                    <label class="layui-form-label">昵称</label>
                    <div class="layui-input-block">
                        <input type="text" name="nickname" required lay-verify="required" placeholder="请输入昵称"
                            autocomplete="off" class="layui-input">
                    </div>
                </div>

                <!-- 密码 -->
                <div class="layui-form-item">
                    <label class="layui-form-label">密码</label>
                    <div class="layui-input-block">
                        <input type="text" name="password" required lay-verify="required|len" placeholder="请输入密码"
                            autocomplete="off" class="layui-input pwd">
                    </div>
                </div>

                <!-- 确认密码 -->
                <div class="layui-form-item">
                    <label class="layui-form-label">确认密码</label>
                    <div class="layui-input-block">
                        <input type="text" required lay-verify="required|deff" placeholder="请输入确认密码" autocomplete="off"
                            class="layui-input">
                    </div>
                </div>

                <!-- 邮箱 -->
                <div class="layui-form-item">
                    <label class="layui-form-label">邮箱</label>
                    <div class="layui-input-block">
                        <input type="text" name="email" required lay-verify="required|email" placeholder="请输入邮箱"
                            autocomplete="off" class="layui-input">
                    </div>
                </div>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>

    <script src="/admin/assets/lib/jquery.js"></script>
    <script src="/admin/assets/lib/layui/layui.all.js"></script>
    <script src="/admin/assets/js/common.js"></script>
    <script src="/admin/addUser/AddUser.js"></script>

</body>

</html>